<?
//搜索的项目用  equal_name，表示搜索条件 等于输入内容，对应为name的项
//搜索的项目用  like_
//less_
//greater_
//这样去拼凑一个语句出来。多个项的话，就用+）号隔开
?>

    <div class="select-box clearfix layui-form">
        <form action="data_list.php" >

            <div class="layui-form-item">
                <label class="layui-form-label">关键词</label>
                <div class="layui-input-block">
                    <input type="text" name="like_title+remark" placeholder="可搜索名称,备注,标题" autocomplete="off"
                           class="layui-input" value="<? echo $_REQUEST['like_title+remark']?>" >
                </div>
            </div>





            <div class="layui-form-item search-period">
                <label class="layui-form-label">时间段</label>

                <div class="layui-input-block">
                    <input type="text" name="greater_startdate"
                           placeholder="请输入开始时间" autocomplete="off" class="layui-input laydate"
                           value="<?if($_REQUEST['greater_startdate']){echo $_REQUEST['greater_startdate'] ;} ?>" >
                    <span>-</span>
                    <input type="text" name="less_enddate"
                           placeholder="请输入结束时间" autocomplete="off" class="layui-input laydate"
                           value="<?if($_REQUEST['less_enddate']){echo $_REQUEST['less_enddate'];} ?>"  >
                </div>
            </div>


            <input type="hidden" name="now_extender" value="<?echo $_REQUEST['now_extender']?>">

            <button class="layui-btn  layui-btn-sm" ><i class="layui-icon">&#xe615;</i> 查找</button>
            <a class="layui-btn white layui-btn-sm" href="data_list.php?now_extender=<?echo $_REQUEST['now_extender']?>" ><i class="layui-icon">&#x1006;</i> 重置</a>




            <br class="clearfloat"/>
        </form>


    </div>

